package org.bright.dao.Impl;

import org.bright.dao.OrderDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository("orderDaoImpl")
public class OrderDaoImpl implements OrderDao {
    @Value("${name}")
    private String name;
    @Value("${money}")
    private int money;
    @Value("${color}")
    private String color;
    @Override
    public void showMessage() {
        System.out.println("华为手机名："+name+"价格："+money+"颜色："+color);
    }
}
